package com.foxzzz.datamemory.entity;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import java.util.Date;


@Entity
@Data
public class BookNote {
    @Id
    private String noteId;
    private String bookId;
    private String bookName;
    private String title;
    @Column(columnDefinition = "TEXT")
    private String text;
    private String state;
    private long orders;
    private int finishTimes;
    private Date dateCreate;
    private Date lastReviewDate;
    private Date nextReviewDate;
    private int reviewLevel;


}
